package com.dm.cloud.auth.common.po;

import com.dm.cloud.basepo.po.BasePo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
   * @author hcx
   * @type AuthUserRole.java
   * @desc AuthUserRole
   */

@Entity
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "T_AUTH_USER_ROLE")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "AuthUserRole")
public class AuthUserRole extends BasePo {

      /** 用户ID **/ 
      @Schema(description = "用户ID")
      @Column(name = "user_id")
      private String userId;
      /** 角色ID **/ 
      @Schema(description = "角色ID")
      @Column(name = "role_id")
      private String roleId;

}
